import { createApp } from 'vue'
import App from './App.vue'
// 引入图标
import '@/assets/icon/iconfont.css'
import '@/assets/base.scss'
// 引入路由
import router from '@/router'
// 自定义组件
import Dialog from '@/components/Dialog.vue'
import Vertify from '@/utils/Vertify'
import Request from '@/utils/Request'
import Message from '@/utils/Message'
// 引入cookie
import VueCookies from 'vue-cookies'
const app = createApp(App)
app.use(router)
app.component('Dialog', Dialog)
app.config.globalProperties.Vertify = Vertify
app.config.globalProperties.Request = Request
app.config.globalProperties.Message = Message
app.config.globalProperties.VueCookies = VueCookies;
app.mount('#app')
